

import React, { FC } from 'react'
import { Typography } from 'antd';
const {Title} =Typography
const MyTitle:FC<any>=({text,level=4}) =>{
  return (
   <Title level={level} style={{margin:20 }}>
       {text}
   </Title>
  )
}
export default MyTitle